import request from "@/utils/request";

export function teamList (params = {}) {
  return request({
    url: 'team',
    method: 'get',
    params
  })
}

// 添加站点列表
export function teamAdd (data = {}) {
  return request({
    url: 'team/add',
    method: 'post',
    data,
    isJSON: false
  })
}

// 编辑列表
export function teamEdit (data = {}) {
  return request({
    url: 'team/edit',
    method: 'post',
    data,
    isJSON: false
  })
}
// 删除列表
export function teamDelete (data = {}) {
  return request({
    url: 'team/delete',
    method: 'post',
    data,
    isJSON: false
  })
}
